package com.aoip.telemetry.telemetry.quartz.task.ReportStatistics.mapper;

import com.aoip.telemetry.telemetry.entity.common.ReportStatisticsEntity;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;

/**
 * @author chenbai
 * @version 1.0
 * @date 2022/1/7 16:07
 */
@Mapper
@DS("telemetry")
public interface ReportStatisticsTaskMapper extends BaseMapper<ReportStatisticsEntity> {

    /**
     * 计算每日上报情况
     *
     * @param statisticTime 统计时间
     * @author chenbai
     * @date 2022/1/7
     **/
    void calculate(LocalDate statisticTime);
}
